package com.maslyk.invitation.converter;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;

public class PermisionConverter implements Converter
{
	public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) throws ConverterException 
	{
		return arg2;
	}

	public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) throws ConverterException 
	{
		return arg2.toString();
	}
}
